<include file="Common:headr"/>
<!--头部导航区域结束-->

<div id="main" class="container">
    <div class="row">
        <div class="col-md-8">

            <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                <!-- Indicators -->
                <ol class="carousel-indicators">
                    <li data-target="#carousel-example-generic" data-slide-to="0" class=""></li>
                    <li data-target="#carousel-example-generic" data-slide-to="1" class="active"></li>
                </ol>

                <!-- Wrapper for slides -->
                <div class="carousel-inner" role="listbox">
                    <div class="item">
                        <a href="{:U('Index/view')}">
                            <img src="__PUBLIC__/s1.png" alt="...">
                            <div class="carousel-caption"></div>
                            <div class="carousel-caption-text">
                                Thinkphp3.2+Bootstrap دا بىلوگ ئېچىش يۈرۈشلۈك دەرىسى
                            </div>
                        </a>
                    </div>
                    <div class="item active">
                        <a href="{:U('Index/view')}">
                            <img src="__PUBLIC__/s2.png" alt="...">
                            <div class="carousel-caption"></div>
                            <div class="carousel-caption-text">
                                دەرىسخانا
                            </div>
                        </a>
                    </div>
                </div>

                <!-- Controls -->
                <a class="left carousel-control" href="http://oyghanbeg.com/writings#carousel-example-generic" role="button" data-slide="prev">
                    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                    <span class="sr-only">Previous</span>
                </a>
                <a class="right carousel-control" href="http://oyghanbeg.com/writings#carousel-example-generic" role="button" data-slide="next">
                    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                    <span class="sr-only">Next</span>
                </a>
            </div>

            <div class="container-fluid">
                <div class="page-header">
                    <h4><span class="oyghan-title-icon" style="background: #1ABC9C"><i class="fa fa-edit"></i></span>يېڭى يازمىلار</h4>
                </div>
            </div>
            <div class="container-fluid">
               <if condition="$Ar">
                   <foreach name="Ar" item="a">
                       <div class="row info-content">
                           <div class="col-md-4 col-sm-4 col-xs-12">
                               <img src="__ROOT__/{$a['thumb']}" class="img-responsive" alt="">
                           </div>
                           <div class="col-md-8">
                               <h4><span class="label label-default pull-left" style="margin-top:4px;">{$a['click']}</span>&nbsp;&nbsp;<a href="{:U('Index/view',array('aid'=>$a['aid']))}">{$a['title']}</a></h4>
                               <p class="">
                                   {$a['summer']}</a>
                               </p>
                               <?php $time=date('Y-m-d H:i',$a['addtime']) ;?>
                               <div class="content-status">
                                   <span><i class="fa fa-clock-o"></i>&nbsp;{$time}</span>&nbsp;&nbsp;
                               </div>
                           </div>
                       </div>
                   </foreach>
                   <else/>
                   <div class="alert alert-warning">بۇ خەتكۈچتە ھازىرچە ئۇچۇر يوق!</div>
               </if>

            </div>
        </div>
        <div class="col-md-4">
            <div class="oyghan-common-layout">
                {:W('Home/get_all_category')}
            </div>
            <div class="oyghan-common-layout">
                {:W('Home/get_all_tag')}
            </div>
            <div class="oyghan-common-layout">
                <div class="oyghan-common-layout-index">
                    <a href="http://oyghanbeg.com/series/build-blog-system-with-thinkphp-and-bootstrap">
                        <img src="./nyazma_files/bt.png" alt="" class="img-responsive">
                    </a>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-8">
        <nav>
            {$Page}
        </nav>
    </div>
</div>

<!--footer-->
<footer id="oyghan-theme-footer" style="background: #FFF">
    <div class="container">
        <p>تور بىكەتنىڭ بارلىق ھوقۇقى ئويغان تور بېكىتىگە تەۋە،ئەمگىكىمگە ھۆرمەت قىلىڭ.</p>
        <p>All Rights Reserved Oyghanbeg.com ©2017-2020 &nbsp;新ICP备15000975号-2</p>
        <p>Developed By Oyghan,Powered By <a href="https://laravel.com/" target="_blank">Laravel</a> and <a href="http://getbootstrap.com/" target="_blank">Bootstrap</a></p>
        <p><script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261525976'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/stat.php%3Fid%3D1261525976%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));</script><span id="cnzz_stat_icon_1261525976"><a href="http://www.cnzz.com/stat/website.php?web_id=1261525976" target="_blank" title="站长统计"><img border="0" hspace="0" vspace="0" src="./nyazma_files/pic1.gif"></a></span><script src="./nyazma_files/stat.php" type="text/javascript"></script><script src="./nyazma_files/core.php" charset="utf-8" type="text/javascript"></script></p>
    </div>
</footer>
<!--footer-->
